package io.aircraft.modules.wms.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

import java.math.BigDecimal;

/**
 * 出库明细
 *
 * @author Cycle gengruyi01@163.com
 * @since 1.0.0 2022-11-16
 */
@Data
@ApiModel(value = "出库明细")
public class OrderDetailDTO implements Serializable {
    private static final long serialVersionUID = 1L;

	@ApiModelProperty(value = "id")
	private Long detailId;

	@ApiModelProperty(value = "主单id")
	private Long orderId;

	@ApiModelProperty(value = "商品编号")
	private String spuNo;
	private String lotNo;
	private String contNo;

	@ApiModelProperty(value = "计划量")
	private BigDecimal planQnty;

	@ApiModelProperty(value = "配货量")
	private BigDecimal bindQnty;

	@ApiModelProperty(value = "实发量")
	private BigDecimal actlQnty;

	@ApiModelProperty(value = "单据状态(0-初始 1-收货中 2-收货完成 9-单据撤销)")
	private Integer detailSt;

	@ApiModelProperty(value = "创建用户")
	private Long creator;

	@ApiModelProperty(value = "创建日期")
	private Date createDate;

	@ApiModelProperty(value = "更新用户")
	private Long updater;

	@ApiModelProperty(value = "更新日期")
	private Date updateDate;

	@ApiModelProperty(value = "备注")
	private String comments;

	/*创建用户与更新用户的编号(代替id在界面中更友好的显示)*/
	private String creatorName;
	private String updaterName;
}